package com.lgCore.client.workHandler;/**
 * Created by by on 2021/3/8 9:50
 */

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 *@program: sxreader_rpc
 *@author: ligang
 *@create: 2021-03-08 09:50
 */
public class ClientRpcData implements Serializable {
    /**
     * rpc区域
     */
    public static String rpcSystemRegion;
    /**
     * 项目运行环境 local,dev，test，prod
     */
    public static String profilesActive;

    /**
     * 本地IP
     */
    public static String localIp;

    public static void setRpcSystemRegion(String rpcSystemRegion) {
        ClientRpcData.rpcSystemRegion = rpcSystemRegion;
    }

    public static void setProfilesActive(String profilesActive) {
        ClientRpcData.profilesActive = profilesActive;
    }

    public static String getRpcSystemRegion() {
        return rpcSystemRegion;
    }

    public static String getProfilesActive() {
        return profilesActive;
    }

    public static void setLocalIp(String localIp) {
        ClientRpcData.localIp = localIp;
    }

    public static String getLocalIp() {
        return localIp;
    }
}
